home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
ms_sh21s.zip
/
SH210
/
INCLUDE
/
SYS
/
PROTO.H
< prev
Wrap
C/C++ Source or Header
|
1992-12-14
|
642b
|
47 lines
/*
* Prototype definitions for Standard and Non-standard compilers
*/
#ifndef _PROTO
#define _NEAR
#define _CDECL
#define _FAR_
#define _LOADDS_
#ifdef MSDOS
# if defined(_DLL) && !defined(_MT)
# error Cannot define _DLL without _MT
# endif
# ifdef _DLL
# undef _LOADDS_
# define _LOADDS_ _loadds
# endif
# ifdef _MT
# undef _FAR_
# define _FAR_ _far
# endif
# ifndef __STDC__
# define __STDC__ 1
# endif
# undef _CDECL
# define _CDECL cdecl
# undef _NEAR
# define _NEAR near
#endif
#ifdef __STDC__
# define _PROTO(p) p
#else
# define _PROTO(p) ()
# undef const
# undef volatile
#endif
#endif